package com.ft.f_springboot_route.service;



import com.ft.f_springboot_route.bean.Category;
import com.ft.f_springboot_route.utils.Pager;

import java.util.List;

public interface CategoryService {

    Pager<Category> selectAllCategoryList(String cateName, Integer currentPage, Integer pagersNumber);
    Long selectAllCategoryListToLong(String cateName);

    void addCategory(String cateName);

    Category selectCategoryByCateId(Integer cateId);

    void editCategoryByCategory(Category category);

    List<Category> selectCategoryList();

    void deletecategoryBycateId(Integer cateId);
}
